'use strict'
import React from "react";
import {render} from 'react-dom';
import {Link} from 'react-router';

//引入工具类
import MMALL_COM from 'util/comm.jsx';
import USER from 'service/user_service.jsx';

import NavTop      from 'page/component/nav-top/index.jsx';
import NavLeft     from 'page/component/nav-left/index.jsx';

import './index.scss';
var _comm = new MMALL_COM();
var _user = new USER();

class Parent extends React.Component{
    constructor(props){
        super(props);
        this.state={
        };
    }
    compoentDidMount(){

    }
    render() {
        return (
        <div className='wrap'>
            <div className="navbar navbar-default navbar-static-top header" role="navigation">
                <NavTop />
                <NavLeft />
            </div>
            {this.props.children}
        </div>
        );
    }
}
 export default Parent;
